package com.sdut.material.mapper;

import com.sdut.material.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yu
 * @since 2022-04-20
 */
public interface UserMapper extends BaseMapper<User> {

    List<String> selectRoleByName(String username);

    List<String> selectPermissionByName(String username);
}
